#ifndef LIFEGAMERULE_H
#define LIFEGAMERULE_H

#include "cell.h"

class LifeGameRule
{
public:
    enum JudgeState { BIRTH, MAINTAIN, VANISH };
    LifeGameRule();
    static JudgeState calculate(int alive);
};

#endif // LIFEGAMERULE_H
